Client_version = "v1.0";

if (!isDedicated) then {execvm "ewdb\client.sqf";};
execvm "EWDBStats\init.sqf";
if (isserver) then {execvm "EW_Server_Side\init.sqf";};


if (isServer) then
{
   TAG_fnc_requestClientID =
   {
      (_this select 1) setVariable ["TAG_clientID", owner (_this select 1), true];
   };
   "PV_RequestClientId" addPublicVariableEventHandler TAG_fnc_requestClientID;
};
if (!isDedicated) then 
{
   waitUntil {!isNull player};
   PV_RequestClientId = player;
   publicVariableServer "PV_RequestClientId";

   if (isServer) then 
   {
      ["", player] call TAG_fnc_requestClientID;
   };
}; 